package com.orphan.audit.service;

import com.orphan.audit.po.Deposit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.orphan.audit.po.Save;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wdn
 * @since 2021-07-15
 */
public interface IDepositService extends IService<Deposit> {

    List<Deposit> findAll();

    Integer saveMoney(Save save);

    Integer exist(Long id);

    Deposit queryDeposit(Long id);

    Integer update(Deposit deposit);

    Integer reduce(Deposit deposit);



}
